package Sorts;

public class ProgrammingBooks extends Books {
    private String language;
    private String authorBlog;

    public ProgrammingBooks(String name,int pages,int degree,int sort,String language,String authorBlog) {
        super(name,pages,degree,sort);
        this.language = language;
        this.authorBlog = authorBlog;
    }
    public String getLanguage() {
        return language;
    }
    public void setLanguage(String language) {
        this.language = language;
    }

    public String getAuthorBlog() {
        return authorBlog;
    }
    public void setAuthorBlog(String authorBlog) {
        this.authorBlog = authorBlog;
    }

    @Override
    public String toString() {
        return super.toString()+ "编程语言是：" + language + ",作者博客链接是：" + authorBlog;
    }

}
